// stairs
// using stairs takes you to another area
// Cell 0 - Zone to take to
// Cell 1 - Direction to enter it from (0 - from north, 1 - west, 2 - south, 3 - east)
// Cell 2 - What layer
// Cell 3,4 - A stuff done flag. If one is given, this flag must be zero to let party use stairs/
// Cell 5 - If the flag prevent party from using boat, starts a convo at this node.

beginobjectscript; // talking object

variables;

body;

beginstate INIT_STATE;
	break;

beginstate DEAD_STATE;
	break;

beginstate START_STATE; 
	break;

beginstate USE_STATE;
	//QW1 kludge should remove, this flag unused in QW2
	if (get_memory_cell(0) == 0)
		sf(0,0,1);
	play_sound(725);
	change_town(get_memory_cell(0),get_memory_cell(1));
	

break;
